gh-151596: Added missing argument 'size' with default value of -1 to TextIOBase.readline#151679
Conversation
ZeroIntensity
left a comment
There was a problem hiding this comment.
Could you add a news entry? This is technically user-facing.
dbbc554 to
eff30be
Compare
|
Thanks @Saber0324 for the PR, and @ZeroIntensity for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15. |
|
GH-151870 is a backport of this pull request to the 3.15 branch. |
|
GH-151871 is a backport of this pull request to the 3.14 branch. |
|
GH-151872 is a backport of this pull request to the 3.13 branch. |
|
@ZeroIntensity: I'm not sure that it's a good idea to change readline() API in stable versions (3.13 and 3.14), but I'm fine with changing 3.15 which is not released yet (final release will be in October). |
|
Yeah, that's why I hesitated on the backports. I don't know whether this counts as a bug or a feature. I see valid arguments for both. Maybe we should ask the RMs? |
_pyio.TextIOBase.readlineis missing asizearg #151596